﻿using QFramework;

namespace HKTools
{
    public class CMD_AchieveCondition : AbstractCommand
    {
        HK_ConditionType conditionType;
        public CMD_AchieveCondition(HK_ConditionType _conditionType)
        {
            conditionType = _conditionType;
        }

        protected override void OnExecute()
        {
            this.GetSystem<IHK_TaskSystem>().AchieveCondition(conditionType);
        }
    }
}